package com.blb.service.serviceImpl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.List;
import com.blb.dto.ZGetgift;
import com.blb.dao.ZGetgiftMapper;
import com.blb.dto.ZGetgiftExample;
import com.blb.service.ZGetgiftService;

@Service
public class ZGetgiftServiceImpl implements ZGetgiftService {

    @Resource
    private ZGetgiftMapper zGetgiftMapper;

    @Override
    public long countByExample(ZGetgiftExample example) {
        return zGetgiftMapper.countByExample(example);
    }

    @Override
    public int deleteByExample(ZGetgiftExample example) {
        return zGetgiftMapper.deleteByExample(example);
    }

    @Override
    public int deleteByPrimaryKey(Integer getid) {
        return zGetgiftMapper.deleteByPrimaryKey(getid);
    }

    @Override
    public int insert(ZGetgift record) {
        return zGetgiftMapper.insert(record);
    }

    @Override
    public int insertSelective(ZGetgift record) {
        return zGetgiftMapper.insertSelective(record);
    }

    @Override
    public List<ZGetgift> selectByExample(ZGetgiftExample example) {
        return zGetgiftMapper.selectByExample(example);
    }

    @Override
    public ZGetgift selectByPrimaryKey(Integer getid) {
        return zGetgiftMapper.selectByPrimaryKey(getid);
    }

    @Override
    public int updateByExampleSelective(ZGetgift record, ZGetgiftExample example) {
        return zGetgiftMapper.updateByExampleSelective(record, example);
    }

    @Override
    public int updateByExample(ZGetgift record, ZGetgiftExample example) {
        return zGetgiftMapper.updateByExample(record, example);
    }

    @Override
    public int updateByPrimaryKeySelective(ZGetgift record) {
        return zGetgiftMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(ZGetgift record) {
        return zGetgiftMapper.updateByPrimaryKey(record);
    }

    @Override
    public List<Integer> selectBytop3(int zid) {
        return zGetgiftMapper.selectBytop3(zid);
    }

}



